package com.zhuiyun.pm.sys.dictionary.service.impl;

import com.zhuiyun.pm.sys.dictionary.entity.DictionaryEntity;
import com.zhuiyun.pm.sys.dictionary.mapper.DictionaryEntriesMapper;
import com.zhuiyun.pm.sys.dictionary.mapper.DictionaryMapper;
import com.zhuiyun.pm.sys.dictionary.service.DictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName DictionaryServiceImpl
 * @Description TODO
 * @Author 胡亮
 * @Date 2023/03/14 上午 09:26
 **/
@Service
public class DictionaryServiceImpl implements DictionaryService {

    @Autowired
    DictionaryMapper dictionaryMapper;

    @Override
    public List<DictionaryEntity> fuzzySelectAll(DictionaryEntity dictionary) {
        return dictionaryMapper.fuzzySelectAll(dictionary);
    }

    @Override
    public int dictionaryDel(Integer id) {
        return dictionaryMapper.dictionaryDel(id);
    }
}
